import Vue from 'vue'
import App from './App.vue'
import {router} from './router'
import store from './store'
//element-ui
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

//公共css样式
import './assets/css/common.css';

//iconfont样式
import './assets/fonts/iconfont.css';

//css动画
import 'animate.css';

Vue.use(ElementUI, { size: 'small', zIndex: 3000 });


//关闭Vue的生产提示 
Vue.config.productionTip = false

new Vue({
    router,
    store,
    render: h => h(App),
    beforeCreate() {
        Vue.prototype.$bus = this //安装全局事件总线，$bus就是当前应用的vm
    },
}).$mount('#app')
